<h1>Listing factypes</h1>

<table>
  <tr>
    <th>Name</th>
  </tr>

<% for factype in @factypes %>
  <tr>
    <td><%=h factype.name %></td>
    <td><%= link_to 'Show', factype %></td>
    <td><%= link_to 'Edit', edit_factype_path(factype) %></td>
    <td><%= link_to 'Destroy', factype, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New factype', new_factype_path %>
